<f:view xmlns="http://www.w3.org/1999/xhtml"
   xmlns:ui="http://java.sun.com/jsf/facelets"
   xmlns:h="http://java.sun.com/jsf/html"
   xmlns:c="http://java.sun.com/jsp/jstl/core"
   xmlns:f="http://java.sun.com/jsf/core"
   xmlns:p="http://primefaces.prime.com.tr/ui"
   xmlns:pm="http://primefaces.org/mobile" contentType="text/html">
   <pm:page title="Hello World">
      <pm:view id="main">
         <pm:header title="Header" />
         <h:form prependId="false" >
            <pm:content>
            <p:commandButton value="dddddd" ></p:commandButton>
               <pm:switch value="#{bean.value}" onLabel="Yes" offLabel="No"/>
            </pm:content>         
         </h:form>
      </pm:view>
   </pm:page>
</f:view>